
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@include file="/static/common/common.jsp"%>
<html>
<head>
    <script src="/static/js/system/layout/grade.js"></script>
    <title>Title</title>
</head>
<body>
<%--增加按钮 给tabs--%>
<div id="tt">
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" data-cmd="add">添加</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-edit"  data-cmd="edit">编辑</a>
    <a href="#" id="change_btn" class="easyui-linkbutton" iconCls="icon-remove" data-cmd="changeSate">删除</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-reload" data-cmd="reload">刷新</a>
</div>
<%--创建table--%>
<table id="grade_datagrid"></table>
<%--做一个弹窗--%>
<div id="grade_dialog">
    <!--弹框里面包含表单-->
    <form id="edit_form" style="padding:40px 0px 0px 30px;" method="post">
        <input id="gradeId" name="id" type="hidden"/>
        <table cellspacing="0" cellpadding="0" width="100%" align="left" border="0">

            <tr>
                <td>班级名称</td>
                <td class="ui_text_lt"><input class="easyui-textbox" name="name" style="width:100px">
                </td>

            </tr>
            <tr>
                <td>班主任:</td>
                <%--查找班主任--%>
                <td>
                    <input class="easyui-combobox" name="headteacher.id" data-options="
                                        url:'/employee/queryHeadteacher',
                                        valueField: 'id',
                                        textField: 'realname'
                                       "/>
                </td>
            </tr>



            <tr>
                <td>班级状态:</td>
                <td>
                    <input class="easyui-combobox" name="state" data-options=" panelHeight:'auto',
                                valueField: 'value',
                                textField: 'text',
                                data: [{
                                    text: '毕业',
                                    value: '0'
                                },{
                                    text: '未毕业',
                                    value: '1'
                                }]"/>
                </td>
            </tr>


        </table>


    </form>

</div>
<%--添加保存按钮--%>
<!--设置底部保存与取消按钮-->
<div id="bb">
    <a href="#" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">取消</a>
</div>

</body>
</html>
